package com.bibi.hanshunping.chapter05;

import java.util.Scanner;

public class Ifo3 {
    public static void main(String[] args) {
        Scanner myScanner = new Scanner(System.in);
        System.out.println("请输入1-100 的信用分");
        int grade = myScanner.nextInt();
        if (grade >= 1 && grade <= 100) {
            if (grade == 100) {
                System.out.println("信用极好");
            } else if (grade > 80) {
                System.out.println("优秀");
            } else {
                System.out.println("一般");
            }
        } else {
            System.out.println("信用分，不在范围内！");
        }
    }
}
